package com.ruoyi.nav.api;


import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.nav.api.factory.RemoteNavFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(contextId = "remoteNavService", value = ServiceNameConstants.NAV_SERVICE, fallbackFactory = RemoteNavFallbackFactory.class)
public interface RemoteNavService {

    @GetMapping("/nav/hello")
    public R<String> hello();


}
